package com.rajaev.dtu.tractor.domain.entity;

import com.rajaev.dtu.tractor.infrastructure.base.enums.BatterInspectTaskState;
import lombok.Data;

import java.util.Date;

/**
 * @Created with IDEA
 * @author: tianjie
 * @Date:2019/4/11
 * @Time:10:58
 */
@Data
public class BatteryInspectTaskPo {

    /**
     * 任务id
     */
    private Integer taskId;


    /**
     * 总数
     */
    private Integer batteryCount;


    /**
     * 创建用户的id
     */
    private Integer createUserId;

    /**
     * 任务创建时间
     */
    private Date createDatetime;

    /**
     * 平均得分
     */
    private Integer averageScore;


    /**
     * 故障中的设备数量
     */
    private Integer deviceNumberInFault;


    /**
     * 巡检任务状态
     */
    private BatterInspectTaskState state = BatterInspectTaskState.NO_COMPLETE;
}
